package cn.jmz.micpro.jpa.user;

import cn.jmz.micpro.entity.db.user.User;
import cn.jmz.micpro.jpa.BaseRepository;
import org.springframework.stereotype.Repository;

/**
 * cn.jmz.micpro.jpa.repository.user
 *
 * @author JMZ
 * @date 2021/12/16 16:29
 */
@Repository
public interface UserRepository extends BaseRepository<User, Long> {

    User findByUserName(String userName);

    User findByUserMobile(String userMobile);

}
